var lzld="1209_1713";function t_lazyload__init(){t_lazyload__detectwebp();var t=document.querySelector("#allrecords");t&&"yes"===t.getAttribute("data-tilda-imgoptimoff")?window.lazy_imgoptimoff="yes":window.lazy_imgoptimoff="";for(var e=document.querySelectorAll(".t156 .t-img"),i=0;i=s(t)+1200+t.offsetHeight}function x(){var n;return(n=e===window?a:c(e))>=c(t)+i+t.offsetWidth}return!0!==window.flag_performance_pass3000&&"object"==typeof performance&&performance.now()<3e3?i=300:window.flag_performance_pass3000=!0,n=t.ownerDocument,o=window.pageYOffset||n.body.scrollTop,a=window.pageXOffset||n.body.scrollLeft,"fixed"===t.getAttribute("data-content-cover-parallax")&&t.closest&&t.closest(".t-cover__container")&&(t=t.closest(".t-cover__container")),!(d()||f()||u()||x())}function b(t,e,i,n){var o=e.getAttribute("data-"+n);if(o){var l=e.clientWidth,s=e.clientHeight,c,c;if((m(e,"t-slds__bgimg")||m(e,"t-slds__img"))&&!m(e,"t827__image"))!1===h(c=g(e,"t-slds__container"))&&(c=g(e,"t-slds__thumbsbullet")),h(c)&&(l=c.clientWidth,s=c.clientHeight);if(m(e,"tn-atom")&&m(e,"t-bgimg"))if(h(c=g(e,"tn-atom__scale-wrapper"))){var d=c.getBoundingClientRect(),u;l=(u=A("round",d.width,d.height,10))[0],s=u[1]}var f="",x="",p="",y="",w="",b="",S=1,k=!0,L=!1,u;if("yes"==window.lazy_imgoptimoff&&(k=!1),"y"!==window.lazy_err_thumb&&"y"!==window.lazy_err_static||(k=!1),"IMG"===e.tagName)w="resize";else if("undefined"!=typeof getComputedStyle){var u;"50%"==(f=(u=getComputedStyle(e).backgroundPosition.split(" "))[0])?f="center":"0%"==f?f="left":"100%"==f&&(f="right"),"50%"==(x=u[1])?x="center":"0%"==x?x="top":"100%"==x&&(x="bottom"),w="contain"==(p=getComputedStyle(e)["background-size"])?"contain":"cover","fixed"==(y=getComputedStyle(e)["background-attachment"])&&(L=!0)}else L=!0;if(b=e.getAttribute("data-lazy-rule")){var T=b.split(","),E;for(E=0;E-1&&(S=1*T[E].split(":")[1]),T[E].indexOf("comm:")>-1&&"resize"!=(w=T[E].split(":")[1])&&"cover"!=w&&"contain"!=w&&(k=!1),T[E].indexOf("skip")>-1&&(L=!0),T[E].indexOf("optimoff")>-1&&(k=!1)}if(S>1)l=(u=A(w,l,s,S))[0],s=u[1];if("cover"==w&&l>0&&s>0&&l<=1e3)if(l===5*Math.ceil(l/5)&&s===5*Math.ceil(s/5));else if(a.indexOf(l+"x"+s)>-1);else if(r.indexOf(l+"x"+s)>-1);else if(m(e,"tn-atom")||m(e,"tn-atom__img"));else{var u;m(e,"t-cover__carrier")||(w="resize"),l=(u=A(w,l,s,100))[0],s=u[1]}if("resize"==w&&l<30&&(L=!0),!0===k&&(o=!0===L||l>1e3||s>1e3||0==l||"IMG"!=e.tagName&&0==s?O(o):z(e.tagName,w,o,l,s,f,x,p)),"y"===window.lazy_err_static&&0===o.indexOf("https://static.tildacdn.com/")&&(o=o.replace("https://static.tildacdn.com/","https://static3.tildacdn.com/")),o){if("IMG"===t.tagName)t.setAttribute("src",o);else if("IFRAME"===t.tagName)t.setAttribute("src",o);else if("OBJECT"===t.tagName)t.setAttribute("data",o);else{var I,M;if(-1!==t.style.backgroundImage.indexOf("-gradient("))I=t.style.backgroundImage.split("), ")[1];I?t.style.backgroundImage="url("+o+"), "+I:(t.style.backgroundImage="url("+o+")",v(t,o))}e.lazy_loading_src=o}}else _(e,"loading")}function v(t,e){var i=t.getAttribute("data-content-cover-id");if(i){var n=e.split(".");n=n[n.length-1];var o=document.getElementById("recorddiv"+i);"svg"===n&&(o.style.backgroundImage="")}}function A(t,e,i,n){if("cover"==t&&e>0&&i>0){var o=e/i,a=1;o<=1?(o<=.8&&(a=.8),o<=.751&&(a=.75),o<=.667&&(a=.667),o<=.563&&(a=.562),o<=.501&&(a=.5),i=Math.ceil(i/n)*n,e=Math.ceil(i*a),e=10*Math.ceil(e/10)):(o>=1.25&&(a=1.25),o>=1.332&&(a=1.333),o>=1.5&&(a=1.5),o>=1.777&&(a=1.777),o>=2&&(a=2),e=Math.ceil(e/n)*n,i=Math.ceil(e/a),i=10*Math.ceil(i/10))}else e>0&&(e=Math.ceil(e/n)*n),i>0&&(i=Math.ceil(i/n)*n);return[e,i]}function z(t,e,i,n,o,a,r,l){if("undefined"==i||null==i)return i;if(i.indexOf(".svg")>0||i.indexOf(".gif")>0||i.indexOf(".ico")>0||-1===i.indexOf("static.tildacdn.")||i.indexOf("-/empty/")>0||i.indexOf("-/resizeb/")>0)return i;if(i.indexOf("/-/")>-1)return i;if(0==n&&0==o)return i;if("y"==window.lazy_err_thumb)return i;if(i.indexOf("lib")>-1)return i;if("IMG"!=t&&"DIV"!=t&&"TD"!=t&&"A"!=t)return i;var s;if(window.devicePixelRatio>1&&(n>0&&(n=parseInt(2*n)),o>0&&(o=parseInt(2*o))),n>1e3||o>1800)return s=O(i);if("resize"==e){var c;(c=i.split("/")).splice(i.split("/").length-1,0,"-/resize/"+n+"x"+("DIV"==t&&o>0?o:"")+"/"+("y"==window.lazy_webp?"-/format/webp":""));var s=c.join("/").replace("/static.tildacdn.com","/thumb.tildacdn.com").replace("/static.tildacdn.info","/thumb.tildacdn.com")}else{if(!(n>0&&o>0))return i;var c;"left"==a||"right"==a||(a="center"),"top"==r||"bottom"==r||(r="center"),(c=i.split("/")).splice(i.split("/").length-1,0,"-/"+e+"/"+n+"x"+o+"/"+a+"/"+r+"/"+("y"==window.lazy_webp?"-/format/webp":""));var s=c.join("/").replace("/static.tildacdn.com","/thumb.tildacdn.com").replace("/static.tildacdn.info","/thumb.tildacdn.com")}return s}function O(t){if("undefined"==t||null==t)return t;if(t.indexOf(".svg")>0||t.indexOf(".gif")>0||t.indexOf(".ico")>0||-1===t.indexOf("static.tildacdn.")||t.indexOf("-/empty/")>0||t.indexOf("-/resizeb/")>0)return t;if(t.indexOf("/-/")>-1)return t;if(t.indexOf("lib")>-1)return t;if("y"!==window.lazy_webp)return t;if("y"===window.lazy_err_thumb)return t;var e=t.split("/"),i;return e.splice(t.split("/").length-1,0,"-/format/webp"),e.join("/").replace("/static.tildacdn.com","/thumb.tildacdn.com").replace("/static.tildacdn.info","/thumb.tildacdn.com")}function S(t,e,i){if("string"==typeof e&&null!=e&&""!=e){var n;if(console.log("lazy loading err"),0===e.indexOf("https://static.tildacdn.com/"))return window.lazy_err_static="y",void k(t,n=e.replace("https://static.tildacdn.com/","https://static3.tildacdn.com/"));if(-1!==e.indexOf("https://thumb.tildacdn.com/")&&-1!==e.indexOf("/-/")){window.lazy_err_thumb="y";var o=e.split("/"),a="",r="",n;if(o.length>3)for(var l=0;l1?d()-i:"";"object"!=typeof window.t_cdnerrors&&(window.t_cdnerrors=[]),window.t_cdnerrors.push({url:e,time:c,debug:{domloaded:window.t_lazyload_domloaded}})}}}function k(t,e){console.log("try reload: "+e),"IMG"===t.tagName?e&&t.setAttribute("src",e):e&&(t.style.backgroundImage="url("+e+")")}function L(e){l(),this._settings=u(t,e),this._queryOriginNode=this._settings.container===window?document:this._settings.container,this._previousLoopTime=0,this._loopTimeout=null,this._handleScrollFn=x(this.handleScroll,this),s(window,"resize",this._handleScrollFn),this.update(),this.loadAnimatedImages()}return L.prototype._showOnLoad=function(t){var e,i=this._settings,n;function o(){null!==i&&(t_lazyLoad__appendImgStatToArr(e,n),i.callback_load&&i.callback_load(t),b(t,t,i.data_srcset,i.data_src),i.callback_set&&i.callback_set(t),_(t,i.class_loading),p(t,i.class_loaded),c(e,"load",o))}!t.getAttribute("src")&&i.placeholder&&t.setAttribute("src",i.placeholder),s(e=document.createElement("img"),"load",o),s(e,"error",(function(e){_(t,i.class_loading),i.callback_error&&i.callback_error(t),void 0!==e.path?S(t,e.path[0].currentSrc,n):void 0!==e.target&&S(t,e.target.currentSrc,n)})),p(t,i.class_loading),n=d(),b(e,t,i.data_srcset,i.data_src)},L.prototype._showOnAppear=function(t){var e=this._settings,i;function n(){null!==e&&(t_lazyLoad__appendImgStatToArr(t,i),e.callback_load&&e.callback_load(t),_(t,e.class_loading),p(t,e.class_loaded),c(t,"load",n))}"IMG"!==t.tagName&&"IFRAME"!==t.tagName||(s(t,"load",n),s(t,"error",(function(o){c(t,"load",n),_(t,e.class_loading),e.callback_error&&e.callback_error(t),void 0!==o.path?S(t,o.path[0].currentSrc,i):void 0!==o.target&&S(t,o.target.currentSrc,i)})),p(t,e.class_loading)),i=d(),b(t,t,e.data_srcset,e.data_src),e.callback_set&&e.callback_set(t)},L.prototype._loopThroughElements=function(){var t,e,i=this._settings,n=this._elements,o=n?n.length:0,a=[];for(t=0;t0;)n.splice(a.pop(),1),i.callback_processed&&i.callback_processed(n.length);0===o&&this._stopScrollHandler()},L.prototype._purgeElements=function(){var t,e,i=this._elements,n=i.length,o=[];for(t=0;t0;)i.splice(o.pop(),1)},L.prototype._startScrollHandler=function(){this._isHandlingScroll||(this._isHandlingScroll=!0,s(this._settings.container,"scroll",this._handleScrollFn))},L.prototype._stopScrollHandler=function(){this._isHandlingScroll&&(this._isHandlingScroll=!1,c(this._settings.container,"scroll",this._handleScrollFn))},L.prototype.loadAnimatedImages=function(){var t,e,i=this._settings,n=this._elements,o=n?n.length:0,a=[];function r(t,e){var i;if("trigger"===e){var n=t.getAttribute("data-animate-sbs-trgels");n&&(i=document.querySelector('[data-elem-id="'+n+'"]'))}else"viewport"===e&&(i=g(t,"t396"));return h(i)?y(i):null}function l(t,e){var n=r(t,e);if(!n)return!1;var o=y(t),a=Math.abs(n.top-o.top),l=Math.abs(n.left-o.left);return a>i.threshold||l>i.threshold}for(t=0;t0;)n.splice(a.pop(),1),i.callback_processed&&i.callback_processed(n.length)},L.prototype.handleScroll=function(){var t,e,i;this._settings&&(e=d(),0!==(i=this._settings.throttle)?(t=i-(e-this._previousLoopTime))<=0||t>i?(this._loopTimeout&&(clearTimeout(this._loopTimeout),this._loopTimeout=null),this._previousLoopTime=e,this._loopThroughElements()):this._loopTimeout||(this._loopTimeout=setTimeout(x((function(){this._previousLoopTime=d(),this._loopTimeout=null,this._loopThroughElements()}),this),t)):this._loopThroughElements())},L.prototype.update=function(){this._elements=f(this._queryOriginNode.querySelectorAll(this._settings.elements_selector)),this._purgeElements(),this._loopThroughElements(),this._startScrollHandler()},L.prototype.destroy=function(){c(window,"resize",this._handleScrollFn),this._loopTimeout&&(clearTimeout(this._loopTimeout),this._loopTimeout=null),this._stopScrollHandler(),this._elements=null,this._queryOriginNode=null,this._settings=null},L})),window.lazy="y","loading"!=document.readyState?t_lazyload__init():document.addEventListener("DOMContentLoaded",t_lazyload__init),window.t_lazyload_updateResize_elem=function(t){if(window.jQuery&&t instanceof jQuery){if(0==t.length)return;t=t.get(0)}if(null!=t){var e=t.tagName;if("IMG"==e)var i=t.getAttribute("src"),n="-/resize/";else if("undefined"!=typeof getComputedStyle){var i=getComputedStyle(t)["background-image"].replace("url(","").replace(")","").replace(/"/gi,""),o;if("contain"==getComputedStyle(t)["background-size"])var n="-/contain/";else var n="-/cover/"}else var n="-/cover/";if(!(null==i||-1===i.indexOf(n)||i.indexOf(".svg")>0||i.indexOf(".gif")>0||i.indexOf(".ico")>0||-1===i.indexOf("thumb.tildacdn.com")||i.indexOf("-/empty/")>0&&i.indexOf("-/resizeb/")>0)){var a=i.indexOf(n)+n.length,r=i.indexOf("/",a);if(a>0&&r>0){var l=i.slice(a,r).split("x"),s=t.clientWidth,c=t.clientHeight;if(s>0&&c>0&&(l[0]>0||l[1]>0)&&(l[0]>0&&s>l[0]||l[1]>0&&c>l[1])&&(l[0]>0&&s-l[0]>100||l[1]>0&&c-l[1]>100)){var d=i.slice(0,a)+(l[0]>0?s:"")+"x"+(l[1]>0?c:"")+i.substring(r);"IMG"==e?t.setAttribute("src",d):t.style.backgroundImage="url('"+d+"')"}}}}},window.t_loadImgStats=[];